[OpenSIPS-Users] Users Digest, Vol 5, Issue 80
郑伟
neubuffalo at 163.com
Tue Dec 30 14:01:52 CET 2008
在2008-12-30,users-request at lists.opensips.org 写道:
>Send Users mailing list submissions to
> users at lists.opensips.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>or, via email, send a message with subject or body 'help' to
> users-request at lists.opensips.org
>
>You can reach the person managing the list at
> users-owner at lists.opensips.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Users digest..."
>
>
>Today's Topics:
>
> 1. Re: mi_datagram and passing quote sign (Alex Massover)
> 2. Re: mi_datagram and passing quote sign (Bogdan-Andrei Iancu)
> 3. NAT_Traversal question (mmarzuola at interfree.it)
> 4. Re: Re : [RLS] Cannot found service uri in rls-services
> (Eric PTAK)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 30 Dec 2008 10:39:44 +0200
>From: Alex Massover <alex at jajah.com>
>Subject: Re: [OpenSIPS-Users] mi_datagram and passing quote sign
>To: opensip <users at lists.opensips.org>
>Message-ID:
> <F5B5EF8F78C0BC4BB417E1DBB9D7F7D0E9A1F45C at jjex01.jajah.dublin>
>Content-Type: text/plain; charset="utf-8"
>
>Hi!
>
>While writing the reply and attaching the log file I found the problem, it was missing final \n after last argument. However if I don't escape quotes inside the mi command it works even without final \n, and because of that I missed the point from the beginning.
>
>Now everything works fine, thanks!
>
>I have another question, please. Because of mi_datagram module opens new socket for each replying instead of using the one it listens on, client that talk to mi_datagram interface can't be behind NAT. Why not to reply from the same socket the module listens on?
>
>--
>Best Regards,
>Alex Massover
>
>-----Original Message-----
>From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
>Sent: Monday, December 29, 2008 4:12 PM
>To: Alex Massover
>Cc: opensip
>Subject: Re: [OpenSIPS-Users] mi_datagram and passing quote sign
>
>Hi Alex,
>
>You can escape " char by using \" . If it doesn't work, please post the
>entire Mi command you are sending as well as the opensips logs (use
>debug=6).
>
>Thanks and regards,
>Bogdan
>
>Alex Massover wrote:
>>
>> Hi!
>>
>>
>>
>> I'm trying to pass string that includes quote sign(s) via mi_datagram
>> interface.
>>
>>
>>
>> For example dlg_end_dlg can receive additional header, let say I want
>> two headers, so I build:
>>
>> :dlg_end_dlg:\n
>>
>> "Header1: data1\r\nHeader2: data2\r\n\r\n"\n
>>
>> And this one works.
>>
>>
>>
>> Now I want the Header2 to be
>>
>> Header2: data2 "data3 data4"
>>
>>
>>
>> Straight-forward way:
>>
>> :dlg_end_dlg:\n
>>
>> "Header1: data1\r\nHeader2: data2 "data3 data4"\r\n\r\n"\n
>>
>> doesn't work.
>>
>>
>>
>> Escaping also doesn't work:
>>
>> :dlg_end_dlg:\n
>>
>> "Header1: data1\r\nHeader2: data2 \"data3 data4\"\r\n\r\n"\n
>>
>>
>>
>> I wonder how to pass something quoted via mi_datagram.
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Alex Massover
>>
>>
>>
>>
>>
>> ******************************************************************************
>>
>> This footnote confirms that this email message has been scanned by
>> Jajah Inc. Mail system for the presence of malicious code, vandals &
>> computer viruses.
>> ******************************************************************************
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
>
>******************************************************************************
>
> This footnote confirms that this email message has been scanned by Jajah Inc. Mail system for the presence of malicious code, vandals & computer viruses.
>
>******************************************************************************
>
>
>
>
>******************************************************************************
> This footnote confirms that this email message has been scanned by Jajah Inc. Mail system for the presence of malicious code, vandals & computer viruses.
>******************************************************************************
>
>
>------------------------------
>
>Message: 2
>Date: Tue, 30 Dec 2008 10:47:01 +0200
>From: Bogdan-Andrei Iancu <bogdan at voice-system.ro>
>Subject: Re: [OpenSIPS-Users] mi_datagram and passing quote sign
>To: Alex Massover <alex at jajah.com>
>Cc: opensip <users at lists.opensips.org>
>Message-ID: <4959E005.2060502 at voice-system.ro>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Hi Alex,
>
>This is an know issue, already reported by Ovidiu Sas - there is an open
>bug report on this. I will take care of this.
>
>Best regards,
>Bogdan
>
>Alex Massover wrote:
>> Hi!
>>
>> While writing the reply and attaching the log file I found the problem, it was missing final \n after last argument. However if I don't escape quotes inside the mi command it works even without final \n, and because of that I missed the point from the beginning.
>>
>> Now everything works fine, thanks!
>>
>> I have another question, please. Because of mi_datagram module opens new socket for each replying instead of using the one it listens on, client that talk to mi_datagram interface can't be behind NAT. Why not to reply from the same socket the module listens on?
>>
>> --
>> Best Regards,
>> Alex Massover
>>
>> -----Original Message-----
>> From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
>> Sent: Monday, December 29, 2008 4:12 PM
>> To: Alex Massover
>> Cc: opensip
>> Subject: Re: [OpenSIPS-Users] mi_datagram and passing quote sign
>>
>> Hi Alex,
>>
>> You can escape " char by using \" . If it doesn't work, please post the
>> entire Mi command you are sending as well as the opensips logs (use
>> debug=6).
>>
>> Thanks and regards,
>> Bogdan
>>
>> Alex Massover wrote:
>>
>>> Hi!
>>>
>>>
>>>
>>> I'm trying to pass string that includes quote sign(s) via mi_datagram
>>> interface.
>>>
>>>
>>>
>>> For example dlg_end_dlg can receive additional header, let say I want
>>> two headers, so I build:
>>>
>>> :dlg_end_dlg:\n
>>>
>>> "Header1: data1\r\nHeader2: data2\r\n\r\n"\n
>>>
>>> And this one works.
>>>
>>>
>>>
>>> Now I want the Header2 to be
>>>
>>> Header2: data2 "data3 data4"
>>>
>>>
>>>
>>> Straight-forward way:
>>>
>>> :dlg_end_dlg:\n
>>>
>>> "Header1: data1\r\nHeader2: data2 "data3 data4"\r\n\r\n"\n
>>>
>>> doesn't work.
>>>
>>>
>>>
>>> Escaping also doesn't work:
>>>
>>> :dlg_end_dlg:\n
>>>
>>> "Header1: data1\r\nHeader2: data2 \"data3 data4\"\r\n\r\n"\n
>>>
>>>
>>>
>>> I wonder how to pass something quoted via mi_datagram.
>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Alex Massover
>>>
>>>
>>>
>>>
>>>
>>> ******************************************************************************
>>>
>>> This footnote confirms that this email message has been scanned by
>>> Jajah Inc. Mail system for the presence of malicious code, vandals &
>>> computer viruses.
>>> ******************************************************************************
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>>
>>
>> ******************************************************************************
>>
>> This footnote confirms that this email message has been scanned by Jajah Inc. Mail system for the presence of malicious code, vandals & computer viruses.
>>
>> ******************************************************************************
>>
>>
>>
>>
>> ******************************************************************************
>> This footnote confirms that this email message has been scanned by Jajah Inc. Mail system for the presence of malicious code, vandals & computer viruses.
>> ******************************************************************************
>>
>>
>
>
>
>
>------------------------------
>
>Message: 3
>Date: 30 Dec 2008 09:43:41 -0000
>From: mmarzuola at interfree.it
>Subject: [OpenSIPS-Users] NAT_Traversal question
>To: users at lists.opensips.org
>Message-ID: <20081230094341.7331.qmail at community23.interfree.it>
>Content-Type: text/plain;
>
>
>Hi all.
>I'm testing the Nat_traversal module and I have noticed that keepalive messages continue to be sent to UACs even if they are no longer registered, until the REGISTER expire timeout is not finished.
>Is there a function in the module that erases user agent's NAT entry point from the list if the answer to keepalive of the UAC is negative?
>This would limit the amount of extra network traffic.
>
>Thanks in advance.
>
>Matteo Marzuola
>
>
>----------------------------------------------------------------------------
>Vuoi essere presente online?
>Vuoi dare voce alla tua attivita`?
>Acquista un dominio su domini.interfree.it.
>A partire da 18,59 euro
>----------------------------------------------------------------------------
>
>
>
>
>------------------------------
>
>Message: 4
>Date: Tue, 30 Dec 2008 11:49:38 +0100
>From: "Eric PTAK" <eric.ptak.fr at gmail.com>
>Subject: Re: [OpenSIPS-Users] Re : [RLS] Cannot found service uri in
> rls-services
>To: users at lists.opensips.org
>Message-ID:
> <72fcd8d60812300249k4fa2377we59f9e37b64e34d9 at mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi everyones,
>
>I hope you spend a merry christmas and you're ready for the new years eve ;)
>
>As I'm still working on RLS subscriptions, I'm modding the module to allow
>resource-lists references within rls-services doc.
>I will made something with an option to allow only certains xcap roots, and
>I'll first check DB (and only it if integrated xcap).
>I would like to know more about a future support of pres-list parameter of
>SUBSCRIBEs R-URI.
>Did you discuss about that ? Has it been roadmapped ?
>
>Have a nice saint-sylvestre,
>Eric.
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://lists.opensips.org/pipermail/users/attachments/20081230/93617055/attachment.html
>
>------------------------------
>
>_______________________________________________
>Users mailing list
>Users at lists.opensips.org
>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>End of Users Digest, Vol 5, Issue 80
>************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081230/0d0133ad/attachment-0001.htm
More information about the Users
mailing list