Advertisement
Sarvik

call_forwarding

Mar 30th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. Configurations is:
  2.  
  3. sip.conf
  4.  
  5. [372652136]
  6. secret=xxxxxxxx
  7. host=elion.ee
  8. type=friend
  9. qualify=4000
  10. context=class1
  11. insecure=invite
  12.  
  13. extension.conf
  14.  
  15. [to_tech]
  16. exten => s,1,NoOp(Call comming from ${CALLERID(all)})
  17. exten => s,n,Dial(SIP/372652136/5162246,20,Tt)
  18. exten => s,n(noanswer),Playback(/var/spool/asterisk/tmp/koik_hoivatud)
  19. exten => s,n,Voicemail(tech@class1,s)
  20.  
  21. All calls is comming in, and can joice menu options (press NR1 or press NR2).
  22.  
  23. But if Asterisk forwarding the call, the comming follow issue and coing to the voicemail:
  24.  
  25. -- Executing [s@to_tech:9] Answer("SIP/372652136-00000055", "") in new stack
  26. -- Executing [s@to_tech:10] Dial("SIP/372652136-00000055", "SIP/372652136/5162246,20,Tt") in new stack
  27. == Using SIP RTP TOS bits 184
  28. == Using SIP RTP CoS mark 5
  29. -- Called SIP/372652136/5162246
  30. [Mar 30 11:46:21] WARNING[14184]: chan_sip.c:20245 handle_response_invite: Received response: "Forbidden" from '"+37255646772" <sip:++37255646772@xxx.xxx.xxx.xxx>;tag=as319ffa31'
  31. == Everyone is busy/congested at this time (1:0/1/0)
  32. -- Executing [s@to_tech:11] Playback("SIP/372652136-00000055", "/var/spool/asterisk/tmp/noanswer") in new stack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement