Voxalot / SIP Broker Support Forums

Voxalot / SIP Broker Support Forums (https://forum.sipbroker.com/index.php)
-   SIP Broker Support (https://forum.sipbroker.com/forumdisplay.php?f=9)
-   -   Unable to receive incoming calls through sipbroker (https://forum.sipbroker.com/showthread.php?t=6568)

pinazo 09-05-2010 01:21 PM

Unable to receive incoming calls through sipbroker
 
I can make calls through sipbroker, but I cannot receive incoming calls through sipbroker PSTN numbers. I have configured at sipbroker.com the forwarding to my URI my_extension@my_home@dyndns.org.

I'm running Elastix (Asterisk)

I have a trunk 'Sipbroker' with this settings:
Trunk name: sipbroker-out
Peer details:
disallow=all
allow=g729&ulaw
canreinvite=no
dtmfmode=rfc2833
fromdomain=my_SIP_provider
fromuser=my_username
host=sipbroker.com
insecure=very
nat=yes
port=5060
secret=my_password
type=peer

And in sip_custom.conf I have this values:
[sipbroker]
host=sipbroker.com
type=peer
context=sipbroker-in
insecure=very

And in extensions_custom.conf I have this values:
[sipbroker-in]
exten => _X.,Dial(204)
exten => _X.,Dial(205)

204 and 205 are the extensions numbers.
When I call from the outside (sipbroker PSTN numbers) and I dial my alias, I cannot receive the call in my extension.
I take a look at the Asterisk CLI, and it shows:
[2010-09-04 17:38:03] NOTICE[2785] chan_sip.c: Call from 'sipbroker' to extension '204' rejected because extension not found in context 'sipbroker-in'

Can anyone help me please? I've been looking for the solution and I can't find it.

pinazo 09-07-2010 05:05 AM

The book Asterisk, the future of telephony, had the answer:
the proper method was writing the last commands this way:
exten => 204,1,Dial(SIp/204)
exten => 205,1,Dial(IAX2/205)

Being 204 a SIP extension and 205 a IAX2 extension.


All times are GMT. The time now is 01:41 PM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.