[Kamailio-Users] A2billing Project <-> Openser
Daniel-Constantin Mierla
miconda at gmail.com
Wed Feb 18 10:08:16 CET 2009
On 02/18/2009 10:54 AM, BERGANZ François wrote:
> I found my problem.
> It comes from the auth.
>
>
Do you send 200 ok after auth? If yes, you shouldn't.
> I check if the user is auth.
> But, I always challenge the phone!
>
You have to challenge when the invite is not authenticated --
proxy_authorize(...) return false.
> If I challenge the phone, the phone send the right invite and hangup!
> Asterisk receive the right invite and pickup the line without the phone.
>
> Have you an example of auth which don't have that effect?
>
The default config file has example how to auth invite -- it is in comments.
Again, find the reason why 200ok is sent by kamailio - that must not happen.
Cheers,
Daniel
>
> Cordialement,
> BERGANZ François
>
>
> http://www.acropolistelecom.net
> Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
>
>
> -----Message d'origine-----
> De : Daniel-Constantin Mierla [mailto:miconda at gmail.com]
> Envoyé : mardi 17 février 2009 18:44
> À : BERGANZ François
> Cc : users at lists.kamailio.org
> Objet : Re: [Kamailio-Users] A2billing Project <-> Openser
>
> As I could see in the trace, there is a 200OK sent back to caller before
> the INVITE is forwarded to A2B.
>
> Check your config file, probably you have a sl_send_reply("200", "OK")
> misplaced.
>
> Cheers,
> Daniel
>
>
> On 02/17/2009 07:31 PM, BERGANZ François wrote:
>
>> This one is better
>>
>>
>> Cordialement,
>> BERGANZ François
>>
>>
>> http://www.acropolistelecom.net
>> Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
>>
>>
>> -----Message d'origine-----
>> De : Daniel-Constantin Mierla [mailto:miconda at gmail.com]
>> Envoyé : mardi 17 février 2009 18:18
>> À : BERGANZ François
>> Cc : users at lists.kamailio.org
>> Objet : Re: [Kamailio-Users] A2billing Project <-> Openser
>>
>>
>>
>> On 02/17/2009 07:14 PM, BERGANZ François wrote:
>>
>>
>>> I have no problems with dispatcher t_relay...
>>> When asterisk receive the call, asterisk start the agi and the phone hangup itself!
>>>
>>>
>>>
>> What is the cause of hangup? Does the phone gets 200ok and sends BYE or
>> it sends CANCEL?
>>
>> Daniel
>>
>>
>>
>>> I just need to know how to do to call through openser to asterisk without that the phone hangup
>>>
>>>
>>> Cordialement,
>>> BERGANZ François
>>>
>>>
>>> http://www.acropolistelecom.net
>>> Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
>>>
>>> -----Message d'origine-----
>>> De : Daniel-Constantin Mierla [mailto:miconda at gmail.com]
>>> Envoyé : mardi 17 février 2009 18:07
>>> À : BERGANZ François
>>> Cc : users at lists.kamailio.org
>>> Objet : Re: [Kamailio-Users] A2billing Project <-> Openser
>>>
>>> Hello,
>>>
>>> On 02/17/2009 04:59 PM, BERGANZ François wrote:
>>>
>>>
>>>
>>>> Hello,
>>>>
>>>> I use Asterisk2billing to do prepaid…it works fine!
>>>>
>>>> But, now, I need to auth my users in the openser and forward the call
>>>> by loadbal to asterisk(s) which use Asterisk2billing.
>>>>
>>>> Anybody know how to do?
>>>>
>>>>
>>>>
>>>>
>>> use dispatcher ds_select_dst() and then t_relay().
>>>
>>> Does A2B requires the users to be register there as well?
>>>
>>> Cheers,
>>> Daniel
>>>
>>>
>>>
>>>
>>>> Cordialement,
>>>>
>>>> BERGANZ François
>>>>
>>>> P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Kamailio (OpenSER) - Users mailing list
>>>> Users at lists.kamailio.org
>>>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>
>
>
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the sr-users
mailing list