[Users] SIP Invite Header Modification

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Jun 2 18:38:34 CEST 2006


Hi Gene,

As I see, you actually want to change the first line of INVITE and not 
the headers..for changing the ruri you have the subst_uri() function 
(regexp based) in textops module:
    http://openser.org/docs/modules/1.0.x/textops.html#AEN141
make a regexp to get rid of the ruri params.

regards,
bogdan

Gene Cohen wrote:

> I am working with a VoiceGenie SIP VXML server which is very sensitive 
> to SIP headers on INVITE - if the format is not just so, it cannot 
> handle the calls.
>  
> I want to use openser to mask this problem by sending a consistent SIP 
> INVITE that the VoiceGenie can handle.
>  
> Does anyone have any advice on how to do this?
>  
>
> This (simple) INVITE header works :
>
>         INVITE sip:7035470041 at 69.60.182.155:5060 SIP/2.0
>
> none of these work :
>
>       INVITE sip:7035470041 at 69.60.182.155:5060;dtg=SIP SIP/2.0
>       INVITE sip:7035470041;npdi=yes;@69.60.182.155:5060;dtg=SIP SIP/2.0
>       INVITE sip:7035470041;cic=5119;@69.60.182.155:5060;dtg=SIP SIP/2.0
>       INVITE
>       sip:7035470041;cic=5119;npdi=yes;@69.60.182.155:5060;dtg=SIP
>       SIP/2.0
>
>        
>
>       thanks,
>
>       gene
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>





More information about the Users mailing list