[Asterisk-Users] Outbound Dial via SIP

Sean Kennedy
Tue, 18 Jan 2005 09:13:31 -0000

kurt x wrote:

>What I am trying to do is the following:  A call is sent to the * box
>via a SIP invite.  The * box answers via an IVR menu system with "
>Enter the extension you want to dial" so I enter in my 5 digit
>extension and get the below message.
>
>Jan 18 10:10:03 WARNING[-1380238416]: channel.c:1860 ast_request: No
>channel type registered for 'SIP)'
>Jan 18 10:10:03 NOTICE[-1380238416]: app_dial.c:696 dial_exec: Unable
>to create channel of type 'SIP)'
>Jan 18 10:10:05 WARNING[-1115923536]: chan_sip.c:673 retrans_pkt:
>Maximum retries exceeded on call
>MGC12320050118100959228289-68802635075-54444D000001F742219B3341ED26C644@66.33.1
>for seqno 1 (Non-critical Response)
>
>My extension.conf outbound dial peer:
>
>[outbound]
>exten => _124XX,1,Dial(SIP)/${EXTEN:1}@outbound)
>exten => _124XX,2,Playback(invalid)
>exten => _124XX,3,Hangup
>
>My sip.conf
>
>[outbound]
>type=peer
>host=192.168.1.1
>
>What the * needs to do is receive the call via SIP and then send it
>out dialed extension via SIP to an another IP PBX.  SO the * does not
>need to register to a server just blindly send a SIP invite to the ip
>address in the SIP.CONF file:  192.168.1.1
>
>Any help would be appricated
>
>Kurt
>

exten => _124XX,1,Dial(SIP)/${EXTEN:1}@outbound)

This is your problem.  It should be

exten => _124XX,1,Dial(SIP/${EXTEN}:1}@outbound)

There might be further syntax errors, this is only off the top of my head, but
the most glaring error that I could see was the ) after SIP.

Sean