Hello everyone!
I am setup gsm gateway and in this time I can make call from mobile outside to goip gsm in local cisco IP phone and the number of phone “400”, All way was very good and listen between them without problem,
But I need to call from Cisco IP phone “400” to outside to mobile I cant so my trunk below:
Trunk Name
Gsm-trunk-1
**Outgoing**
context>>>>>from-internal
dtmfmode=rfc2833
disallow=all
allow=alaw&ulaw
insecure=very&port,invite
qualify=yes
default=goip-merion
secret=123456
nat=no
caninvite=no
Incoming
USER Context >>>>goip-merion
type=friend
host=dynamic
secret=123456789
context=from-trunk
dtmfmode=rfc2833
canreinvite=no
qualify=yes
My debug when call from “400” to outside:
freepbx*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7f0ef80291d0 – Strict RTP learning after remote address set to: 1.1. 1.50:29026
– Executing [outside number here@from-internal:1] ResetCDR(“SIP/400-00000022”, “”) in new stack
– Executing [outside number here@from-internal:2] NoCDR(“SIP/400-00000022”, “”) in new stack
– Executing [outside number here@from-internal:3] Progress(“SIP/400-00000022”, “”) in new stack
– Executing [outside number here@from-internal:4] Wait(“SIP/400-00000022”, “1”) in new stack
> 0x7f0ef80291d0 – Strict RTP switching to RTP target address 1.1.1.50:2 9026 as source
– Executing [outside number here@from-internal:5] Playback(“SIP/400-00000022”, “sil ence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <SIP/400-00000022> Playing ‘silence/1.alaw’ (language ‘en’)
– <SIP/400-00000022> Playing ‘cannot-complete-as-dialed.alaw’ (language 'en ')
– <SIP/400-00000022> Playing ‘check-number-dial-again.alaw’ (language ‘en’)
– Executing [h@from-internal:1] Macro(“SIP/400-00000022”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/400-00000022”, “1?theend”) i n new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/400-00000022”, “0?Set(CDR(re cordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“SIP/400-00000022”, " montior file= ") in new stack
– Executing [s@macro-hangupcall:5] GotoIf(“SIP/400-00000022”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] Hangup(“SIP/400-00000022”, “”) in new st ack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/400-000000 22’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/400-00000022’
My Outbound Route:
![Capture11|690x207](upload://k86SCECxHwlUURNOoeeDfxfbeNw.png)
Any one can help me to solve the problem because i think the false in upper picture “Dial patterns wizards”
Regards