View Single Post
Unread 10-25-2008, 05:07 AM   #1
djrh
Junior Member
 
Join Date: Oct 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
djrh is on a distinguished road
Default Asterisk and Sipbroker, please help

Hi all,

I was trying to configure my asterisk to accept calls from SIPbroker for quite a while, but I must be missing something.

Say I register with SIPbroker with URI test@sip.dyndns.org, where sip.dyndns.org is my Asterisk box. Then I add an alias say 666 to test@sip.dyndns.org (the number is *0111666). as per the FAQ section, I added the following section in sip.conf:

Code:
[general]
externip=sip.dyndns.org

[sipbroker]
type=peer
fromuser=test
fromdomain=sip.dyndns.org
host=sipbroker.com
port=5060
insecure=very
nat=yes
canreinvite=no
context=sipbroker_inbound
Since my goal is to make SIPbroker call my telephone attached to my SPA (for which I have a sip user "spaphone"), I added the following in extensions.conf:

Code:
[sipbroker_inbound]
exten => 666,1,Answer
exten => 666,2,Dial(SIP/spaphone)
Now, I call a PSTN gateway and dial *0111666#, but nothing happens. I run Asterisk in verbose mode, and there is no output whatsoever (usually it shows when a call comes in or goes out).

I guess I do not understand the SIPbroker concept. Do I need to define this user "test" elsewhere? What else do I need to do?

PLEASE HELP
Thanks in advance.
djrh is offline   Reply With Quote