Asterisk Replies call Flow using SIP

Hi,
need exact call flow that all response need to receive for Call sender

My extensions.conf has a standard simple call flow configured.
exten => 100,1,Answer()
exten => 100,n,Dial(SIP/100,60)
exten => 100,n,Playback(vm-nobodyavail)
exten => 100,n,VoiceMail(100@main)
exten => 100,n,Hangup()

all working fine, sender will get all response status like Trying, Ringing and Answered before accepting call receiver.
And Receiver accept call asterisk we can see like Answered status but not receive any response in sip

Need help that want receive all call responses like Trying, Ringing, ok and Answered based on receiver action

Thanks

  1. This should not be considered a standard call with voicemail fallback dialplan, which would be more like this.

exten => 100,1,Dial(SIP/100,60)
exten => 100,n,Playback(vm-nobodyavail)
exten => 100,n,VoiceMail(100@main)

  1. Asterisk is a back to back user agent, not a SIP proxy, so will not forward Trying, and will only send answer when it answers the call,not as a relay of the B side answer.

  2. Removing the premature Answer is likely to produce a result closer to what you want, and, in particular will normally mean the caller doesn’t start getting charged until the callee answers, but it will not relay the Trying, and Ringing, Progress and Answer events will be regenerated on the caller side, not passed through literally. Note that Asterisk needs extra configuration before it will pass a Progress event through, presumably because most networks won’t accept early media from anyone except another network operator.

1 Like