From: David B. <da...@ra...> - 2011-12-06 01:56:13
|
So when you try to place a call, running Asterisk with verbosity >3, what messages appear on the Asterisk console? On Dec 5, 2011, at 5:44 PM, Arghyadip Paul wrote: > My extension.conf has this entry for the extension [phones] > > [phones] > ; This is the context for handsets provisioned through the realtime database. > ; This assumes that OpenBTS units all are running their SIP interfaces on port 5062. > exten => _N.,1,Set(Name=${ODBC_SQL(select dial from dialdata_table where exten=\"${EXTEN}\")}) > exten => _N.,n,GotoIf($["${Name}"=""] ?other-lines,${EXTEN},1) > exten => _N.,n,Set(IPAddr=${ODBC_SQL(select ipaddr from sip_buddies where username=\"${Name}\")}) > exten => _N.,n,GotoIf($["${IPAddr}"=""] ?other-lines,${EXTEN},1) > exten => _N.,n,Dial(SIP/${Name}@${IPAddr}:5062) > > > I am using SipAuthServe for registration but I am running asterisk and OpenBTS in the same machine.OpenBTS runs in port number 5062, asterisk on 5060, Registration on 5064 and SMS on 5063. > > I am still not able to establish a successful call. David A. Burgess Range Networks, Inc. 560 Brannan St. San Francisco, CA 94107 USA cell +1 707 208 2622 |