Re: [SR-Users] Modify IP address in SDP

2013-01-23 Thread Olle E Johanson
23 jan 2013 kl. 05:48 skrev Austin Einter : > Dear Ole > I am not finding any example how to do it (changing a fqdn with ipaddress in > sdp). > Using sdp_get i can get the sdp. > But how i can use transformation function pls let me know. Check the transformations cookbok! http://www.kamailio.org

Re: [SR-Users] Modify IP address in SDP

2013-01-22 Thread Olle E. Johansson
23 jan 2013 kl. 05:48 skrev Austin Einter : > Dear Ole > I am not finding any example how to do it (changing a fqdn with ipaddress in > sdp). > Using sdp_get i can get the sdp. > But how i can use transformation function pls let me know. Check the transformations cookbok! http://www.kamailio.org

Re: [SR-Users] Modify IP address in SDP

2013-01-22 Thread Austin Einter
Looks we do not have any option to modify a FQDN that comes in 200 OK of INVITE's SDP. One need to modify the source code to achieve this,.., ya not a good idea though Austin On Wed, Jan 23, 2013 at 10:18 AM, Austin Einter wrote: > Dear Ole > I am not finding any example how to do it (chang

Re: [SR-Users] Modify IP address in SDP

2013-01-22 Thread Austin Einter
Dear Ole I am not finding any example how to do it (changing a fqdn with ipaddress in sdp). Using sdp_get i can get the sdp. But how i can use transformation function pls let me know. The sdpops link does not give much info how to modify any line. Best regards austin On Tue, Jan 22, 2013 at 6:4

Re: [SR-Users] Modify IP address in SDP

2013-01-22 Thread Olle E Johanson
22 jan 2013 kl. 14:07 skrev Austin Einter : > Dear All > When 200 OK to INVITE passes through Kamailio proxy , I want to change the IP > address in SDP to a specific IP address. > > Can this be done by just modifying configuration files or do I need to modify > in source code. > > In case I n

Re: [SR-Users] Modify IP address in SDP

2013-01-22 Thread Austin Einter
I hope if I am changing IP address to another IP address sdp mangler works fine. If I want to change a FQDN that does not work. I did not understand "ou can always copy the whole SDP into an AVP with SDP_GET, use the transformations to read one line at a time and modify it." can you please elabora

Re: [SR-Users] Modify IP address in SDP

2013-01-22 Thread Olle E. Johansson
22 jan 2013 kl. 14:07 skrev Austin Einter : > Dear All > When 200 OK to INVITE passes through Kamailio proxy , I want to change the IP > address in SDP to a specific IP address. > > Can this be done by just modifying configuration files or do I need to modify > in source code. > > In case I n

[SR-Users] Modify IP address in SDP

2013-01-22 Thread Austin Einter
Dear All When 200 OK to INVITE passes through Kamailio proxy , I want to change the IP address in SDP to a specific IP address. Can this be done by just modifying configuration files or do I need to modify in source code. In case I need to modify source code, which files I need to look at. Kindl