I am trying to figure out how to incert the Called Party Number
What is going on
We use VoicePulse, with our box
the error we get on outbound is as follows. The issue is the call is being rejected at the point below
How do I ensure the Dial number is inserted. At the bottom is my outbound in extension.conf
What is going on
We use VoicePulse, with our box
the error we get on outbound is as follows. The issue is the call is being rejected at the point below
How do I ensure the Dial number is inserted. At the bottom is my outbound in extension.conf
Here is a portion of my extensions.conf---
-- Executing Set("SIP/713-006e8000", "CALLERID(number)=xxxxxxxxxx") in new stack
-- Executing Macro("SIP/713-006e8000", "dial-via-voicepulse|1xxxxxxxxxx") in new stack
-- Executing NoOp("SIP/713-006e8000", "") in new stack
-- Executing Set("SIP/713-006e8000", "CALLERID(name)= 713") in new stack
-- Executing Dial("SIP/713-006e8000", "SIP/s@our-outbound trunks") in new stack
-- Called s@our-outbound trunks
-- Got SIP response 500 "Nice try" back from xx.xx.xx.xx
-- SIP/our-outbound trunks-006f4000 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Dial("SIP/713-006e8000", "SIP/s@our-outbound trunks") in new stack -------------Rejected because no Outbound #
-- Called s@our-outbound trunks
-- Got SIP response 500 "Nice try" back from xxx.xxx.xxx.xxx
-- SIP/our-outbound trunks-0070f000 is circuit-busy
[macro-dial-via-voicepulse]
exten => s,1,NoOp() ; Set(CALLERID(number)=${CALLERID(num)})
exten => s,2,Set(CALLERID(name)=Our Company - ${CALLERID(name)})
exten => s,3,Dial(SIP/${EXTEN}@${VOICEPULSE_GATEWAY_OUT_A})
;exten => s,3,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_A}/${ARG1},90,rtT)
;exten => s,4,GotoIf($[${DIALSTATUS}=CHANUNAVAIL]?${EXTEN}|500)
exten => s,4,Dial(SIP/${EXTEN}@${VOICEPULSE_GATEWAY_OUT_B})
exten => s,5,HangUp()
exten => s,501,Playback(all-circuits-busy-now)
exten => s,502,Playback(pls-hold-while-try)
exten => s,503,Background(silence/9)
exten => s,504,Goto(1)
exten => _1NXXNXXXXXX,n,Dial(SIP/+${EXTEN}@${VOICEPULSE_GATEWAY_OUT_A})
exten => _1NXXNXXXXXX,n,GotoIf($[${DIALSTATUS}=CHANUNAVAIL]?${EXTEN}|500)
exten => _1NXXNXXXXXX,500,Dial(SIP/+${EXTEN}@${VOICEPULSE_GATEWAY_OUT_B})