[asterisk-users] Asterisk is not adding Via field

Sandeep Ammaladinna sammaladinna at velankani.com
Fri Dec 7 00:24:44 CST 2007


Hi,
 
     I am trying to integrate asterisk with openser for a simple call. I
am facing some issues with Asterisk. Below is the explanation:
 
 
      I have a UA1 sending invite to UA2 through Openser and Asterisk
with the below sequence.
     Sequence is UA1->OpenSER->Asterisk->Openser->UA2
      When Asterisk gets the INVITE, the INVITE contains two Via
headers, one of the UA1 and the other Openser's. As Asterisk acts as a
B2BUA, it recreats the Dialog.           So before forwarding the INVITE
to Openser back, it is removing the Via header of UA1 and also it is not
adding its own Via header. So when the INVITE reaches UA2 from Openser,
the INVITE will have only one Via header (which is of Openser). So when
UA2 responds with 180 Ringing, it will reach Openser, but Openser cannot
forward to Asterisk because it does not contain the Via header of
Asterisk.
 
 
Please help me out.
 
Cheers,
-Sandeep A
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071207/37e2551c/attachment.htm 


More information about the asterisk-users mailing list