Advertisement
Guest User

Untitled

a guest
Dec 11th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1.  
  2.  
  3. my command : channel originate Local/4340@myoutbound extension 9220@moh
  4.  
  5.  
  6. extension :
  7.  
  8. [myoutbound]
  9. exten=>_xxxx.,1,verbose( calling to ${EXTEN})
  10. same=>n,Set(CALLERID(num)=${calleridnumber}) ;callerid to use
  11. same=>n,Dial(SIP/GSM${EXTEN}@GSM,25) ;trunk to use
  12.  
  13. exten=>_xxxx,1,verbose( calling to ${EXTEN})
  14. same=>n,Set(CALLERID(num)=${calleridnumber}) ;callerid to use
  15. same=>n,Dial(SIP/GSM${EXTEN},25)
  16.  
  17. [moh]
  18. exten=>s,1,Noop(///${caller}///)
  19. same=>n,Answer()
  20. same=n,Playback(demo-thanks)
  21. same=>n,MusicOnHold(default)
  22. same=>n,Hangup()
  23.  
  24.  
  25. asterisk log :
  26.  
  27. channel originate Local/4340@myoutbound extension 9220@moh
  28. -- Executing [4340@myoutbound:1] Verbose("Local/4340@myoutbound-00000000;2", " calling to 4340") in new stack
  29. calling to 4340
  30. -- Executing [4340@myoutbound:2] Set("Local/4340@myoutbound-00000000;2", "CALLERID(num)=") in new stack
  31. -- Executing [4340@myoutbound:3] Dial("Local/4340@myoutbound-00000000;2", "SIP/GSM4340,25") in new stack
  32. == Using SIP RTP TOS bits 184
  33. == Using SIP RTP CoS mark 5
  34. [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
  35. [2018-12-11 23:41:14.035] WARNING[25222][C-00000000]: chan_sip.c:6106 create_addr: No such host: GSM4340
  36. [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)
  37. == Everyone is busy/congested at this time (1:0/0/1)
  38. [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