Problem Freepbx 2.8 and VOIPTalk SIP

infomediador

New Member
Joined
Jan 10, 2010
Messages
17
Reaction score
0
Hi,

I recently upgraded my Incredible PBX installation to 2.8 and everything appeared to be working perfectly (but there was one thing I forgot to test :banghead: )

For my family living in the UK I signed up for a SIP trunk from VOIPTalk. Since the upgrade all incoming calls receive a busy signal. After checking the logs I found the following message:

NOTICE[3338] chan_sip.c: Call from '834249137' to extension '834249137' rejected because extension not found.

834249137 is my VOIPTalk ID. I have the VOIPtalk trunk configured as per the instructions on their web site (and which was working perfectly before the upgrade). There is an inbound route with the VOIPTalk number as it's DID which routes the call to extension 26.

This is the trunk configuration:

Outgoing Settings:
username=834249137
secret=xxxxxx
type=peer
insecure=very
host=voiptalk.org
dtmfmode=rfc2833
fromdomain=voiptalk.org
context=default

Incoming settings are left blank and there is a user registration string. The trunk shows as registered and I can make outgoing calls.

Any suggestions as to what is going on and how to fix it?

TIA

Alan
 
Try putting your username 834249137 as the trunk name.
 
Still doesn't work; this is the message I get

NOTICE[3338] chan_sip.c: Call from '834249137' to extension '08433303290' rejected because extension not found.

It seems that it is using the DID as the extension but if I leave it blank it doesn't work either
 
OK, some more info. I have tried changing the DID and CID settings to no avail. For some reason I don't understand the VOIPTalk UK (DID?) number is being taken as the extension and nothing I do changes that. I have tried deleting and then configuring the trunk. Setting up a "catchall" inbound route and no specific inbound routes for VOIPTalk, nothing works.

Following is an extract from asterisk/full when I make a call to the VOIPTalk number.

I would really like to solve this problem as my family use this number to call me from the UK.


[2011-03-16 19:16:27] VERBOSE[2083] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/28-b770c840' in macro 'dialout-trunk'
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/28-b770c840'
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/28-b770c840", "hangupcall|") in new stack
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/28-b770c840", "1?skiprg") in new stack
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: -- Goto (macro-hangupcall,s,4)
[2011-03-16 19:16:27] DEBUG[2083] app_macro.c: Executed application: GotoIf
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/28-b770c840", "1?skipblkvm") in new stack
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: -- Goto (macro-hangupcall,s,7)
[2011-03-16 19:16:27] DEBUG[2083] app_macro.c: Executed application: GotoIf
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/28-b770c840", "1?theend") in new stack
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: -- Goto (macro-hangupcall,s,9)
[2011-03-16 19:16:27] DEBUG[2083] app_macro.c: Executed application: GotoIf
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/28-b770c840", "") in new stack
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/28-b770c840' in macro 'hangupcall'
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/28-b770c840'
[2011-03-16 19:16:35] NOTICE[3338] chan_sip.c: Call from '834249137' to extension '08433303290' rejected because extension not found.
[2011-03-16 19:17:01] VERBOSE[3323] logger.c: -- Remote UNIX connection
 
That log is of no use. And it seems like it is from an outgoing call
[2011-03-16 19:16:27] VERBOSE[2083] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/28-b770c840' in macro 'dialout-trunk'

What you need to do is to open up an Asterisk CLI, type 'logger rotate' and then make an inbound call, post that log here or on pastebin (if it is a long one)
 
NOTICE[3338] chan_sip.c: Call from '834249137' to extension '834249137' rejected because extension not found.

This is the trunk configuration:

context=default

When you use "context=default", calls are limited to extensions.

The default context code is located in extensions.conf and is defined as:
Code:
[default]
include => ext-local
exten => s,1,Playback(vm-goodbye)
exten => s,2,Macro(hangupcall)

Change the trunk context to "context=from-trunk" and create an Inbound Route for 834249137 and send to a Ring Group or extension.
 
Great, it works perfectly now. I spent 2 weeks looking at this trying to work out what I had done wrong. Now after looking at the configuration of another trunk I realised that the context was "from-trunk" and I had compared them so many times.

Thanks so much for your help.
 
Glad you got it working. Sometimes you just need another set of eyes.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top