----- Original Message -----
From: <users-request(a)lists.openser.org>
To: <users(a)lists.openser.org>
Sent: Wednesday, January 23, 2008 3:28 AM
Subject: Users Digest, Vol 32, Issue 70
> Send Users mailing list submissions to
> users(a)lists.openser.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
http://lists.openser.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)lists.openser.org
>
> You can reach the person managing the list at
> users-owner(a)lists.openser.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
> 1. Forwarding to SRV records not working (James Holden)
> 2. Re: Serial fork terminated after 5 call (Bogdan-Andrei Iancu)
> 3. How to handle INVITES with different To: header (Peter P GMX)
> 4. Re: How to handle INVITES with different To: header
> (Bogdan-Andrei Iancu)
> 5. Re: Forwarding to SRV records not working (Bogdan-Andrei Iancu)
> 6. OpenSER: no NOTIFY when updating PUBLISH if integrating with
> OpenXCAP? (KevinKinnan)
> 7. OpenSER: no NOTIFY when updating PUBLISH if integrating with
> OpenXCAP? (KevinKinnan)
> 8. Re: Problems trying to build an Active/Active OSer 1.3
> cluster (Stefan Sayer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 22 Jan 2008 16:41:42 +0000
> From: James Holden <james.holden(a)uk.aql.com>
> Subject: [OpenSER-Users] Forwarding to SRV records not working
> To: users(a)lists.openser.org
> Message-ID: <20080122164142.GD4315@james-desktop>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I'm having problems with OpenSER forwarding calls to a domain where
> there are only SRV records.
>
> OpenSER seems not to perform any balancing or failover when a target
> server is unavailable or gives an error.
>
> I wish to forward calls to a number of onward gateways that at times may
> not respond at all, or may respond with something like "503 Service
> Unavailable".
>
> The actual destination address is derived from an enum lookup, but it
> may be for example 123456(a)example.com
>
> There are SRV records as follows:
>
>
_sip._udp.example.com. 600 IN SRV 10 50 5060
gw1.example.com.
>
_sip._udp.example.com. 600 IN SRV 10 50 5060
gw2.example.com.
>
> The behaviour I'd expect/like would be that OpenSER will distribute the
> calls between the two targets specified in the SRV records, and will
> fail over to the other target if one fails to respond or gives a fatal
> error such as a 503.
>
> What actually happens, is that the calls all go to the first one
> regardless.
>
> Are my expectations reasonable?
>
> Does OpenSER's SRV record implementation work like this or am I misled?
>
> Kind regards,
>
> James
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 22 Jan 2008 18:49:21 +0200
> From: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>
> Subject: Re: [OpenSER-Users] Serial fork terminated after 5 call
> To: Sergey Babichev <zaikini(a)yandex.ru>
> Cc: users(a)lists.openser.org
> Message-ID: <47961E91.7080003(a)voice-system.ro>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Sergey,
>
> the most important thing when searching is to know where to search ;)...
> See:
>
http://www.openser.org/docs/modules/1.2.x/nathelper.html#AEN370
>
> Regards,
> Bogdan
>
> Sergey Babichev wrote:
>> Okey:)) And last question about documentation, I searched documentation
>> about function nat_uac_test from nathelper module for version 1.2.x and
>> I'm find it in documentation for version 0.9. Openser 1.2.x not support
>> function nat_uac_test or documentation 1.2.x not full?
>>
>>
>>
>>
>>> Hi Sergey,
>>>
>>
>>
>>> I'm afraid there is no docs about the errors - the idea is to have
>>>
>>
>>
>>> sef-explaining error messages and to avoid documenting them ;)
>>>
>>
>>
>>> Regards,
>>>
>>
>>
>>> bogdan
>>>
>>
>>
>>> Sergey Babichev wrote:
>>>
>>
>>
>>>> Thanks, where i can read about this error (discarding fwd for a
>>>> cancelled transaction) and others?
>>>>
>>
>>
>>
>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>> Hi Sergey,
>>>>>
>>
>>
>>>>>
>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>> the "discarding fwd for a cancelled transaction" error is
generated
>>>>> when
>>>>>
>>
>>
>>>>>
>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>> you try to send a request for a transaction that was already
cancelled
>>>>>
>>
>>
>>>>>
>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>> from the client side. So probably the PSTN GW cancels the call while
>>>>> you
>>>>>
>>
>>
>>>>>
>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>> still want to fork a new branch.
>>>>>
>>
>>
>>>>>
>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>> regards,
>>>>>
>>
>>
>>>>>
>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>> Bogdan
>>>>>
>>
>>
>>>>>
>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>> Sergey Babichev wrote:
>>>>>
>>
>>
>>>>>
>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>> Problem is appear when i calling from PSTN. It's work fine
when i
>>>>>> calling from sip account to huntgroup. I think this is problem
whith
>>>>>> timer in my PSTN gateway.
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>> Hi all!
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>> I want enable hunting for my extensions. It's work fine,
but if my
>>>>>>> hunt group consists of more then 5 extensions, call
terminated and I
>>>>>>> see in syslog error:
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>> Jan 21 20:54:16 ser1-2 /usr/local/sbin/openser[23728]:
>>>>>>> ERROR:tm:t_forward_nonack: discarding fwd for a cancelled
>>>>>>> transaction
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>> Jan 21 20:54:16 ser1-2 /usr/local/sbin/openser[23728]:
>>>>>>> ERROR:tm:w_t_relay: t_forward_nonack failed
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>> Jan 21 20:54:16 ser1-2 /usr/local/sbin/openser[23728]:
>>>>>>> DEBUG:tm:relay_reply: branch=5, save=0, relay=5
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>>>>>>
>>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
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>
>>
>>
>>>>>> _______________________________________________
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>> Users mailing list
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>> Users(a)lists.openser.org
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>
http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>
>>
>>
>>
>>>> --
>>>>
>>
>>
>>
>>
>>>> Best regards,
>>>>
>>
>>
>>
>>
>>>> Sergey Babichev
>>>>
>>
>>
>>
>>
>>>>
>>>>
>>
>>
>>
>> --
>>
>> Best regards,
>>
>> Sergey Babichev
>>
>>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 22 Jan 2008 19:20:44 +0100
> From: Peter P GMX <Prometheus001(a)gmx.net>
> Subject: [OpenSER-Users] How to handle INVITES with different To:
> header
> To: users(a)lists.openser.org
> Message-ID: <479633FC.2090506(a)gmx.net>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
>
> I have the following scenario:
>
> I receive a request with PSTN_number(a)my.ip.add.res from my VoIP
> In alias_db I have defined a rule that points to yyy(a)myip.com which is
> a registered account
>
> After alias_db_lookup OpenSER invites as follows:
> Invite yyy(a)myip.com
> To: xxxxxxx(a)my.ip.add.res
>
> The UA (actually a PBX with VoIP support) answers with 404 not found.
>
> When I invite as follows:
> Invite yyy(a)myip.com
> To: yyy(a)myip.com
>
> everything works fine.
>
> My question: How do you handle these cases?
> Rewriting the To: part seems dificult and will mess up a lot - hein?
>
> Kind regards
> Peter
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 22 Jan 2008 21:41:32 +0200
> From: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>
> Subject: Re: [OpenSER-Users] How to handle INVITES with different To:
> header
> To: Prometheus001(a)gmx.net
> Cc: users(a)lists.openser.org
> Message-ID: <479646EC.5090301(a)voice-system.ro>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Peter,
>
> According to RFC3261, in SIP, routing is exclusively done based on RURI
> (and eventually Route hdrs). TO header has 0 implication in routing.
> So, your PBX is deprecated and out of standards and I suggest either
> upgrade, either replacement.
>
> Regards,
> Bogdan
>
> Peter P GMX wrote:
>> I have the following scenario:
>>
>> I receive a request with PSTN_number(a)my.ip.add.res from my VoIP
>> In alias_db I have defined a rule that points to yyy(a)myip.com which is
>> a registered account
>>
>> After alias_db_lookup OpenSER invites as follows:
>> Invite yyy(a)myip.com
>> To: xxxxxxx(a)my.ip.add.res
>>
>> The UA (actually a PBX with VoIP support) answers with 404 not found.
>>
>> When I invite as follows:
>> Invite yyy(a)myip.com
>> To: yyy(a)myip.com
>>
>> everything works fine.
>>
>> My question: How do you handle these cases?
>> Rewriting the To: part seems dificult and will mess up a lot - hein?
>>
>> Kind regards
>> Peter
>>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 22 Jan 2008 23:00:28 +0200
> From: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>
> Subject: Re: [OpenSER-Users] Forwarding to SRV records not working
> To: James Holden <james.holden(a)uk.aql.com>
> Cc: users(a)lists.openser.org
> Message-ID: <4796596C.7000004(a)voice-system.ro>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi James,
>
> Openser does not do balancing over records with same priority - it will
> just use the first (as returned by DNS server).
>
> But failover based on NAPTR and SRV records is in place.
>
> Regards,
> Bogdan
>
>
> James Holden wrote:
>> Hi,
>>
>> I'm having problems with OpenSER forwarding calls to a domain where
>> there are only SRV records.
>>
>> OpenSER seems not to perform any balancing or failover when a target
>> server is unavailable or gives an error.
>>
>> I wish to forward calls to a number of onward gateways that at times may
>> not respond at all, or may respond with something like "503 Service
>> Unavailable".
>>
>> The actual destination address is derived from an enum lookup, but it
>> may be for example 123456(a)example.com
>>
>> There are SRV records as follows:
>>
>>
_sip._udp.example.com. 600 IN SRV 10 50 5060
gw1.example.com.
>>
_sip._udp.example.com. 600 IN SRV 10 50 5060
gw2.example.com.
>>
>> The behaviour I'd expect/like would be that OpenSER will distribute the
>> calls between the two targets specified in the SRV records, and will
>> fail over to the other target if one fails to respond or gives a fatal
>> error such as a 503.
>>
>> What actually happens, is that the calls all go to the first one
>> regardless.
>>
>> Are my expectations reasonable?
>>
>> Does OpenSER's SRV record implementation work like this or am I misled?
>>
>> Kind regards,
>>
>> James
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)lists.openser.org
>>
http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 23 Jan 2008 05:49:18 +0800
> From: KevinKinnan <kinnan2224(a)hotmail.com>
> Subject: [OpenSER-Users] OpenSER: no NOTIFY when updating PUBLISH if
> integrating with OpenXCAP?
> To: <users(a)lists.openser.org>
> Message-ID: <BAY126-W641A1FEB850E880B28F56C43E0(a)phx.gbl>
> Content-Type: text/plain; charset="gb2312"
>
>
> Thank you so much, Franz!
>
> Indeed, the problem is coming from xml. It is well-formed but seems the
> server can't understand it.
> The whole xml document I used is the similar with yours except the root
> element with namespace which
> is showing below:
>
> <cr: ruleset xmlns="urn:ietf:params:xml:ns:common-policy"
> xmlns:pr="urn:ietf:params:xml:ns:pres-rules"
> xmlns:cr="urn:ietf:params:xml:ns:common-policy">
>
>
> I got no error sending the xml doc with this as beginning. Only no Notify
> message after updating Publish,
> and sometimes the first Subscribe can't get through that is no Notify
> sending back from server. It's really
> weired! Anyway, I finally fix it with your advise, Thanks Indeed.
>
> Kevin,
>
> _________________________________________________________________
> ????? MSN ??????????
>
http://mobile.msn.com.cn/
>