In fact ser should keep nat opened of ua behind nat.
Ser just need to keep location for im an presence
Asterisk forward requests according to contact field
to ser.
--- Iqbal <iqbal(a)gigo.co.uk> a écrit :
Okay, so get ser to fix the NAT part before sending
to asterisk. Any is
ser just proxying all register commands, why not
register in ser, than
asterisk, I know you are doing IM in asterisk, and I
havent done that,
Asterisk do not support IM/presence.
but I am using asterisk for features like call
pickup and transfer, they
might be different in operation but I think its best
to find out howto
let ser do all the hardwork and let asterisk only
work when it needs to.
They can work together !
thanks for help
harry
harry gaillac wrote:
not exactly !
something like this :
asterisk
|
ser
ua1| | ua2
ua1 and ua2 send registration to asterisk via ser .
when ua1 invite ua2 sip INVITE is sent to ser
which
one forward it to asterisk.
asterisk lookup in its AORs so it bridge the call
and
send INVITE to ua2 via ser.
Harry
--- Iqbal <iqbal(a)gigo.co.uk> a écrit :
>Okay almost there :-)
>
>So UA ---> asterisk ---> SER ---> UA
>
>is that it
>
>harry gaillac wrote:
>
>
>
>>
>>
>>
>>
>>>okay, so ALL your users are registering to
>>>asterisk...is that correct.
>>>
>>>
>>>
>>>
>>Correct via ser as outbound sip proxy
>>
>>
>>
>>
>>>If so the problem is howto accept users from
>>>
>>>
>behind
>
>
>>>a NAT into asterisk,
>>>or am I confusing things further.
>>>
>>>
>>>
>>>
>>the problem is in contact field.
>>when user agents send register we have in sip hf
>>Contact sip:user@privateip
>>So asterisk store this AOR and try to contact
agent
>>via nat box instead of SER
>>
>>
>>
>>
>>
>>>If the above are true, where is SER in this, or
>>>
>>>
>are
>
>
>>>users hitting SER
>>>and you are sending the REGISTER from ser into
>>>asterisk.
>>>
>>>
>>>
>>>
>>SER is an outbound sip proxy which handle IM
>>
>>
>presence
>
>
>>nat
>>
>>Harry
>>
>>
>>
>>
>>
>>>>>> One box
>>>>>> ---------------------------
>>>>>> | ---------------- |
>>>>>> | | asterisk pbx | |
>>>>>> | ---------------- |
>>>>>> | || |
>>>>>> | ---------- ----------
>>>>>> | | SER |====|NAT box |==== private
>>>>>> | ---------- ----------
>>>>>> |--------------------------
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>
>>
>>
>>
>>
>>
>>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le
nouveau Yahoo! Messenger
Téléchargez cette version sur
http://fr.messenger.yahoo.com
>.
>
>
>
>
>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le
nouveau Yahoo! Messenger
Téléchargez cette version sur
http://fr.messenger.yahoo.com
.
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur
http://fr.messenger.yahoo.com