thank you,
In the sip show peers I don't see the peer 123456.
The a2billing context I think that in my case is custom-callingcard. (I have changed it in the sip-friend)
Code:
[custom-callingcard]
exten => s,1,Answer
exten => s,2,Wait,2
exten => s,3,DeadAGI,a2billing.php
exten => s,4,Wait,2
exten => s,5,Hangup
Now I have changed the soft I use the x-lite not pro, and he send the 123456 correctly, but I can't make a call, I listen '
the number you have dialed is not in service...' in the logs I see that I'm in the from-sip-external context.
Code:
[from-sip-external]
exten => _.,1,NoOp(Received incoming SIP connection from unknown peer to ${EXTEN})
exten => _.,n,Set(DID=${IF($["${EXTEN:1:2}"=""]?s:${EXTEN})})
exten => _.,n,Goto(s,1)
exten => s,1,GotoIf($["${ALLOW_SIP_ANON}"="yes"]?from-trunk,${DID},1)
exten => s,n,Set(TIMEOUT(absolute)=15)
exten => s,n,Answer
exten => s,n,Wait(2)
exten => s,n,Playback(ss-noservice)
exten => s,n,Congestion
exten => s,n,Hangup
exten => h,1,NoOp(Hangup)
exten => i,1,NoOp(Invalid)
exten => t,1,NoOp(Timeout)
Thnak's for all your helps, sir