Hello,
Im trying to configure the pjsip to accept call from 2 different providers but i have a bit kind of problem. The problem is in the transport file meaning that the one company requires something like it:
If i use the external media signalling and address the 1st provider doesnt giving me any sound if i dont use it the second provider is not working at all.
I also try to create 2 classes like:
[transport-udp-nat-company-a]
[transport-udp-nat-company-b]
But in that case… there is nothing working. Any ideas how this can be achieved?
Thanks a lot.
I think the simplest solution to such invalid multi-homing configurations is to run two instances of Asterisk and have them forward calls between themselves.
Sorry. I didn’t read it carefully. The service provider should not be telling you anything about your local net settings.
The problem that I assumed was that they were both providing non-routable addresses, but if they were doing that, there would be no need to redact the addresses.
The difference is that theo one provider is require to have external_media_address and external_signaling_address pointing to public ip and the other provider not. thats the only difference. but if i use it i will be able to have the one provider active and the other not and if i dont use it ill have the exact opposite.
The other provider should not care whether you have your public IP address in media and signaling, provided you correctly configure things (port forward them to Asterisk). You’ll need to provide what I asked for so we can see exactly what is going on.
for the one provider i have modem in office and there is no require login since the other is remote provider.
The web provider requires external_media_address and external_signaling_address to be set to my public ip otherwise all the incoming calls ends in 32seconds
Also 127.0.0.1/8 is malformed. Depending on the implementation details it will either behave the same as 127.0.0.0/8 or it will not match at all. The two implementations are (Addr & 0xff000000) == 0x7f000001 and (Addr & 0xff000000) == (0x7f000001 & 0xff000000). (Numbers in network byte order.)
A lot of your problem seems to stem from copying information without understanding it.