[asterisk-users] Re: DUNDi with SIP
Tony Mountifield
tony at softins.clara.co.uk
Wed Aug 2 13:00:40 MST 2006
In article <645FEC31A18FE54A8721500CDD55A7B6035D09C3 at mail.oneeighty.com>,
Douglas Garstang <dgarstang at oneeighty.com> wrote:
> I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2.
>
> I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such
> host', eventhough that's the path is just returned!
>
> [Aug 2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on
> 'SIP/3254101-eb7d'
> [Aug 2 13:07:13] -- Executing NoOp("SIP/3254101-6373", "*** OnNet originated call
> "Chocolate Chip" <3254101> -> 9220371") in new stack
> [Aug 2 13:07:13] -- Executing AGI("SIP/3254101-6373", "ipt/originator.py") in new stack
> [Aug 2 13:07:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py
> [Aug 2 13:07:13] -- AGI Script Executing Application: (SetAccount) Options: (9220371)
> [Aug 2 13:07:13] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371)
> [Aug 2 13:07:14] -- AGI Script Executing Application: (Dial) Options:
> (SIP/dundisip:dU7wMVIkX00hbS5OFaZBDQ at xxx.yyy.142.163/9220371)
> [Aug 2 13:07:14] WARNING[5429]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371
Try specifying the SIP argument as:
SIP/dundisip:dU7wMVIkX00hbS5OFaZBDQ at 9220371@xxx.yyy.142.163
See the following line in the sample extensions.conf as an example:
;exten => _42X.,1,Dial(SIP/user:passwd@${EXTEN:2}@otherprovider.net,30,rT)
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list