[Asterisk-Users] In/out calls from/to same sip provider

Pizco Dominguez pizco at guadawireless.org
Fri May 13 05:38:35 MST 2005


Hi.

I'm new to asterisk and, one way or the other, I manage to get it working
for me.

But I'm having a hard time getting calls going to and coming from the
same provider, since the definition of the peer in sip.conf seems to be
different AND not compatible for incoming and outgoing call.

Outgoing calls need a "secret" and "username" definition in the peer
context of sip.conf, while incoming ones will have nothing to do with
those fields.

So I can have incoming or outgoing calls regarding one provider, but not
both.

I've also tried the sample sintax 

"exten =>_42X.,1,Dial(SIP/user:passwd@${EXTEN:2}@otherprovider.net,30,rT)"

that comes with the distribution (debian-sarge), but only to get asterisk
unable to create sip channel because 

"host dialed_number at real_sip_server_address doesn't exist". The address
is that of the provider.

voip.org and asteriskdocs.org seems to lead me nowhere.

I must be missing something obvious, but can't figure out what it is.

Anybody?

Thanks.

-- 
Pizco Dominguez
--------------------------------------------------------------------------

--------------------------------------------------------------------------
GPGKEY:		gpg --keyserver pgp.rediris.es --recv-key 8DE37A4D
FINGERPRINT:	85CB 4323 F322 5837 EDB5  2033 6FB2 C326 8DE3 7A4D
--------------------------------------------------------------------------

--------------------------------------------------------------------------



More information about the asterisk-users mailing list