[OpenSIPS-Users] Opensips + Asterisk on the same server

Roman Davydov openvoip.co at gmail.com
Fri Jun 7 22:04:38 CEST 2013


I checked this on different IP addresses and there is a problem:

when I use record_route and and loos_route, subsequent ACKs and BYEs are
being looped.
But when I do this:
    if ($DLG_status!=NULL) {
        if (!validate_dialog()) {
            fix_route_dialog();
        }
    }


after loos_route - it goes well with message:
ERROR:dialog:dlg_validate_dialog: failed to validate remote contact:
dlg=[sip:5555 at 204.x.x.231:5061] ,
req=[sip:204.x.x.230;lr;ftag=9c4e2b4d;did=fe9.2a125793]

But I see that dialogs are being stale and dialog state is always is equal
to 3.

Dialog is being released well when I don't apply fix_route_dialog() and
loops happen.



Then main question is how to get it work well together ???

Thanks in advance


2013/6/7 Roman Davydov <openvoip.co at gmail.com>

> Flavio, thanks for the reply!
>
> I accidentally disabled email delivery, just noticed your response
>
>
> Well, it is bad.
>
>
> Bogdan, probably you know a good solution to avoid this problem?? I found
> lots of similar problems in google, but all of them are unresolved how they
> suppose to be.
>
> I see one solution here: Avoid of using load_balancer and dialog caching,
> and use stateless "dispatcher" module for this...
>
>
> Thank you!
>
>
>
> 2013/6/2 Roman Davydov <openvoip.co at gmail.com>
>
>> Hello!
>>
>> I am having problems with relaying messages. And I guess it is related
>>  to the ports in From/To headers.
>>
>> My schema is :
>>
>> UAC <->  ( OpenSips:5060 <-> Asterisk:5061 )
>>
>> Opensips and asterisk are on the same host (it is a schema requirement -
>> I have another similar mirror). Asterisk works as B2B (canreinvite=no,
>> etc). Let me know please, is it possible to use them so with load_balancer
>> module and correctly process dialogs ?
>>
>>
>> thanks
>>
>> --
>>
>> Best Regards,
>> Roman Davydov,
>> site: www.openvoip.co
>> email: openvoip.co at gmail.com
>> cell: +1 (347) 637-8703
>> skype: openvoip.co
>>
>
>
>
> --
>
> Best Regards,
> Roman Davydov,
> site: www.openvoip.co
> email: openvoip.co at gmail.com
> cell: +1 (347) 637-8703
> skype: openvoip.co
>



-- 

Best Regards,
Roman Davydov,
site: www.openvoip.co
email: openvoip.co at gmail.com
cell: +1 (347) 637-8703
skype: openvoip.co
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130607/c01301c2/attachment.htm>


More information about the Users mailing list