[Asterisk-Users] sip call using name in sip.conf

Randy Bush randy at psg.com
Sat May 22 16:16:21 MST 2004


i try to place a call

    exten => _X.,1,Dial(SIP/${EXTEN}@foo:5061,60,Ttr)

where sip.conf has an entry

    [foo]
    secret=torture
    callerid="local ext 103" <19146665555>
    type=friend
    fromuser=asterisk
    auth=both
    host=dynamic
    canreinvite=yes
    context=in-914
    mailbox=001

i get

    May 22 23:11:31 WARNING[140400128]: chan_sip.c:902 create_addr: \
		    No such host: foo
    May 22 23:11:31 NOTICE[140400128]: app_dial.c:536 dial_exec: \
		    Unable to create channel of type 'SIP'

the sip service is registered

    foo/foo      209.20.186.194  (D)  255.255.255.255  5060     Unmonitored

and i get the same result if it is not dynamic

    foo/foo      209.20.186.194       255.255.255.255  5061     Unmonitored

clues appreciated

randy




More information about the asterisk-users mailing list