Hi guys,
I'm working of configurations examples, how to get Ser and Asterisk working together in peace ;)
What I wan to do is to have ser doing all the hard work, registering, billing, proxying and help at nat stuff, and use asterisk to register myself at my sip providers, as I couldn't found a way to do it with ser.
An idea how the things are or will be connected is...
[ UAC's ] -> SER -> * / (Ser?) <-> [firewall full port redirect] -> router -> sip provider 192.168.20.x 192.168.20.1 192.168.20.10|192.168.30.10 192.168.30.1 192.168.30.x | 172.16.32.1 | 172.16.32.254 |external ip semi fixed or fixed
I have all the stuff running fine if I use an IAX provider, problem is... all my providers use sip :(
Does anyone has any clue to point me out ? Sip session goes fine but it just get stuck in rtp nat and I can't understand very well why. Another is the UAC's try to reach by itself the sip provider jupping over all 192.168.20.x/30.x thins goes fine if I use stun of course.
My question is... Is there any way to do the same in asterisk? Like use a tun server or something, or using ser to help it to change any contact or sip headers field? HOw is the best way to acomplished that?
Best Regards,
u can get ser to register you also, at sip providers, I think its in the uac module
Iqbal
Elton Machado wrote:
Hi guys,
I'm working of configurations examples, how to get Ser and Asterisk working together in peace ;)
What I wan to do is to have ser doing all the hard work, registering, billing, proxying and help at nat stuff, and use asterisk to register myself at my sip providers, as I couldn't found a way to do it with ser.
An idea how the things are or will be connected is...
[ UAC's ] -> SER -> * / (Ser?) <-> [firewall full port redirect] -> router -> sip provider 192.168.20.x 192.168.20.1 192.168.20.10|192.168.30.10 192.168.30.1 192.168.30.x | 172.16.32.1 | 172.16.32.254 |external ip semi fixed or fixed
I have all the stuff running fine if I use an IAX provider, problem is... all my providers use sip :(
Does anyone has any clue to point me out ? Sip session goes fine but it just get stuck in rtp nat and I can't understand very well why. Another is the UAC's try to reach by itself the sip provider jupping over all 192.168.20.x/30.x thins goes fine if I use stun of course.
My question is... Is there any way to do the same in asterisk? Like use a tun server or something, or using ser to help it to change any contact or sip headers field? HOw is the best way to acomplished that?
Best Regards,
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.
Hi Iqbal,
UAc module has not the functionality to register to another server - for the moment only to perform client auth and to mangle from.
For registering ser with another server, sipsak is the simplest option at the moment.
Best regards, Marian
Iqbal wrote:
u can get ser to register you also, at sip providers, I think its in the uac module
Iqbal
Elton Machado wrote:
Hi guys,
I'm working of configurations examples, how to get Ser and Asterisk working together in peace ;)
What I wan to do is to have ser doing all the hard work, registering, billing, proxying and help at nat stuff, and use asterisk to register myself at my sip providers, as I couldn't found a way to do it with ser.
An idea how the things are or will be connected is...
[ UAC's ] -> SER -> * / (Ser?) <-> [firewall full port redirect] -> router -> sip provider 192.168.20.x 192.168.20.1 192.168.20.10|192.168.30.10 192.168.30.1 192.168.30.x | 172.16.32.1 | 172.16.32.254 |external ip semi fixed or fixed
I have all the stuff running fine if I use an IAX provider, problem is... all my providers use sip :(
Does anyone has any clue to point me out ? Sip session goes fine but it just get stuck in rtp nat and I can't understand very well why. Another is the UAC's try to reach by itself the sip provider jupping over all 192.168.20.x/30.x thins goes fine if I use stun of course.
My question is... Is there any way to do the same in asterisk? Like use a tun server or something, or using ser to help it to change any contact or sip headers field? HOw is the best way to acomplished that?
Best Regards,
Oh, i thought it did, by register I meant connect SER to send SIp traffic out, as opposed to REGISTER as a method :-)
Iqbal
Marian Dumitru wrote:
Hi Iqbal,
UAc module has not the functionality to register to another server - for the moment only to perform client auth and to mangle from.
For registering ser with another server, sipsak is the simplest option at the moment.
Best regards, Marian
Iqbal wrote:
u can get ser to register you also, at sip providers, I think its in the uac module
Iqbal
Elton Machado wrote:
Hi guys,
I'm working of configurations examples, how to get Ser and Asterisk working together in peace ;)
What I wan to do is to have ser doing all the hard work, registering, billing, proxying and help at nat stuff, and use asterisk to register myself at my sip providers, as I couldn't found a way to do it with ser.
An idea how the things are or will be connected is...
[ UAC's ] -> SER -> * / (Ser?) <-> [firewall full port redirect] -> router -> sip provider 192.168.20.x 192.168.20.1 192.168.20.10|192.168.30.10 192.168.30.1 192.168.30.x | 172.16.32.1 | 172.16.32.254 |external ip semi fixed or fixed
I have all the stuff running fine if I use an IAX provider, problem is... all my providers use sip :(
Does anyone has any clue to point me out ? Sip session goes fine but it just get stuck in rtp nat and I can't understand very well why. Another is the UAC's try to reach by itself the sip provider jupping over all 192.168.20.x/30.x thins goes fine if I use stun of course.
My question is... Is there any way to do the same in asterisk? Like use a tun server or something, or using ser to help it to change any contact or sip headers field? HOw is the best way to acomplished that?
Best Regards,
My understanding is this you can't do what you want: Asterisk is a B2BUA and not a proxy as such. So you will need Asterisk in the chain for audio where NAT is involved. Get Asterisk to register with SER. Forward from SER to Asterisk based on whatever rules you want.
If I'm wrong I hope someone corrects me.
Regards
Cameron ----- Original Message ----- From: "Elton Machado" elton.machado@oninet.pt To: "Asterisk Users Mailing List - Non-Commercial Discussion" asterisk-users@lists.digium.com; serusers@lists.iptel.org Sent: Monday, April 18, 2005 1:16 PM Subject: [Serusers] Ser + Asterisk
Hi guys,
I'm working of configurations examples, how to get Ser and Asterisk working together in peace ;)
What I wan to do is to have ser doing all the hard work, registering, billing, proxying and help at nat stuff, and use asterisk to register myself at my sip providers, as I couldn't found a way to do it with ser.
An idea how the things are or will be connected is...
[ UAC's ] -> SER -> * / (Ser?) <-> [firewall full port redirect] -> -> sip provider 192.168.20.x 192.168.20.1 192.168.20.10|192.168.30.10 192.168.30.1 192.168.30.x | 172.16.32.1 | 172.16.32.254 |external ip semi fixed or fixed
I have all the stuff running fine if I use an IAX provider, problem is... all my providers use sip :(
Does anyone has any clue to point me out ? Sip session goes fine but it just get stuck in rtp nat and I can't understand very well why. Another is the UAC's try to reach by itself the sip provider jupping over all 192.168.20.x/30.x thins goes fine if I use stun of course.
My question is... Is there any way to do the same in asterisk? Like use a tun server or something, or using ser to help it to change any contact or sip headers field? HOw is the best way to acomplished that?
Best Regards,
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers