dial plan and sip

Home » Asterisk Users » dial plan and sip
Asterisk Users 9 Comments

Here is a very very basic config. But, not working (:
I simply want to dial the DID that is registered with the SIP provider.
then, as you can see the call should dial the 703111 number
Hints please?

sip.conf
;register => 908366554:396444@carrier.jazzey.com
register => 908366554:396444@sip.jazzey.com
[jazzey]
type=friend
host=sip.jazzey.com
username=908366554
secret=396444
qualify=no
insecure=invite

extensions.conf
exten => s,1,Answer()
exten => s,n,Wait(2)
exten => s,n,Dial(SIP/jazzey/17031111111,120,A,(demo-thanks))
exten => s,n,Wait(2)
exten => s,n,Hangup()

9 thoughts on - dial plan and sip

  • How do I see the error message?
    the phone call seemed to get through but I did not see anything on my
    1.4 console.
    i used 1.6.x before. having trouble with this for some reason. older stuff.
    i have one session open at the > prompt but nothing shows up.

  • You get into asterisk by saying “asterisk -r”. You then up the verbosity by saying “core set verbose 3” or some such number. You the call your number and you should see the steps of your dialplan execute.

  • Jim,
    Thanks. But, no joy.
    I set to 3, then 5.
    I don’t think I am getting registered somewhere.
    The console shows nothing.
    The call to the DID drops after 5 seconds or so.
    It does not ring.
    I know. Basic stuff. I really think the version of this code is not
    robust enough.
    My sip.conf and extensions.conf is very simple.

  • Why do you have A,(demo-thanks) shouldn’t it it be A(demo-thanks)?
    eg:
    exten => s,n,Dial(SIP/jazzey/17031111111,120,A(demo-thanks))

  • On Sat, 13 Nov 2010 20:38:30 -0500
    Thomas Perron wrote:

    […]

    exten => s,n,Dial(SIP/jazzey/17031111111,120,A(demo-thanks))