Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my command : channel originate Local/4340@myoutbound extension 9220@moh
- extension :
- [myoutbound]
- exten=>_xxxx.,1,verbose( calling to ${EXTEN})
- same=>n,Set(CALLERID(num)=${calleridnumber}) ;callerid to use
- same=>n,Dial(SIP/GSM${EXTEN}@GSM,25) ;trunk to use
- exten=>_xxxx,1,verbose( calling to ${EXTEN})
- same=>n,Set(CALLERID(num)=${calleridnumber}) ;callerid to use
- same=>n,Dial(SIP/GSM${EXTEN},25)
- [moh]
- exten=>s,1,Noop(///${caller}///)
- same=>n,Answer()
- same=n,Playback(demo-thanks)
- same=>n,MusicOnHold(default)
- same=>n,Hangup()
- asterisk log :
- channel originate Local/4340@myoutbound extension 9220@moh
- -- Executing [4340@myoutbound:1] Verbose("Local/4340@myoutbound-00000000;2", " calling to 4340") in new stack
- calling to 4340
- -- Executing [4340@myoutbound:2] Set("Local/4340@myoutbound-00000000;2", "CALLERID(num)=") in new stack
- -- Executing [4340@myoutbound:3] Dial("Local/4340@myoutbound-00000000;2", "SIP/GSM4340,25") in new stack
- == Using SIP RTP TOS bits 184
- == Using SIP RTP CoS mark 5
- [2018-12-11 23:41:14.035] ERROR[25222][C-00000000]: netsock2.c:271 ast_sockaddr_resolve: getaddrinfo("GSM4340", "(null)", ...): Name or service not known
- [2018-12-11 23:41:14.035] WARNING[25222][C-00000000]: chan_sip.c:6106 create_addr: No such host: GSM4340
- [2018-12-11 23:41:14.035] WARNING[25222][C-00000000]: app_dial.c:2455 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
- == Everyone is busy/congested at this time (1:0/0/1)
- [2018-12-11 23:41:24.045] WARNING[25222][C-00000000]: pbx.c:6929 __ast_pbx_run: Timeout, but no rule 't' or 'e' in context 'myoutbound'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement