[asterisk-users] Assigning an extension to a roaming phone

Axelle aafortinet at gmail.com
Thu Feb 24 07:27:28 CST 2011


> So you have an IP network, with SIP agents (cell phones ?), some of
> those are manually
> setup in you sip.conf file, but you want to allow unknown cell phones
> users to "self" register
> in your system ?

Yes, exactly.

>
> Someone enter your network, dial 3001@<your ipbx> and get/set a
> temporary internal number.
> Then other phone can dial his ?

Yes, right.

>
> I don't think it's possible, although ...
> What you need is to mimic the SIP registration process, by fetching the
> following informations
> from & during the "setup call":
>
>    * IP of the phone
>    * UDP/TCP Port of the SIP process
>    * Some SIP user ID
>
> Then you store thoses in your DB in the form "SIP/<user>@<IP>:<port>"
> and then you could be able to Dial this string,
> (if the phone is ok to be dialed by an unknown party this way)

Mmm. yes, but I don't have a clue how I could do that.
Perhaps also if I were able to retrieve the IMSI of the roaming user I
might be able to work out something. But I don't know how to get it...

-- Axelle



More information about the asterisk-users mailing list