Call Pickup

Hi,

I have two different clients and they have 10 extensions each and I am tryiong to setup call pickup so when the phone rings they are able to pickup calls without walking to other side of the room to pickup a call and also I dont want client A to pickup Client B calls.

Also if all my calls are hitting one context in sip.conf, from where they are
passed to extensions.conf, and then passed to appropriate contexts, how
can I have pickup features enabled per context, and also define
pickupgroups, or can i use a variable in sip.conf for this.

Regards
Waqar

I can answer the 1st part.

Pickup groups (for sip phones) are defined in sip.conf. Set all the group ‘A’ users to callgroup=1 and pickupgroup=1 and all the ‘B’ users to callgroup=2 and pickupgroup=2. That should give you the required isolation.

In your second part you imply only one [] in sip.conf but I don’t see how that can work. Or am I missing the point there?

[200]
type=friend
context=a-users
username=200
secret=
callerid=Ex 200 <200>
host=dynamic
mailbox=200@default
callgroup=1
pickupgroup=1

[201]

context=a-users
callgroup=1
pickupgroup=1

[210]

context=b-users
callgroup=2
pickupgroup=2

[211]

context=b-users
callgroup=2
pickupgroup=2

Hi,

Thanks for you reply.

The second part works this way. I use software called Astbill for Asterisk billing and other stuff currently this software doesn’t provide full PBX functionality so I am trying to manually defined stuff in SIP and Extension.conf as all the user account data is in the MySql database.

Here is what I have in SIP.CONF

This is my PSTN Service provider

[magrathea]
type=peer
host=192.168.1.1

[magdid]
type=friend
host=182.1681.1.2
canreinvite=yes
context=astbill-incoming ( This context is defined in Extensions.conf )
nat=yes

Extensions.conf

[astbill-incoming]

;#ipClouds Main Setup
exten => _0845XXXXXXX,1,Dial(SIP/7${EXTEN:6},30)
exten => _0845XXXXXXX,2,Voicemail,b7${EXTEN:6}
exten => _0845XXXXXXX,102,Voicemail,u7${EXTEN:6}

Regards

[quote=“jedi98”]I can answer the 1st part.

Pickup groups (for sip phones) are defined in sip.conf. Set all the group ‘A’ users to callgroup=1 and pickupgroup=1 and all the ‘B’ users to callgroup=2 and pickupgroup=2. That should give you the required isolation.

In your second part you imply only one [] in sip.conf but I don’t see how that can work. Or am I missing the point there?

[200]
type=friend
context=a-users
username=200
secret=
callerid=Ex 200 <200>
host=dynamic
mailbox=200@default
callgroup=1
pickupgroup=1

[201]

context=a-users
callgroup=1
pickupgroup=1

[210]

context=b-users
callgroup=2
pickupgroup=2

[211]

context=b-users
callgroup=2
pickupgroup=2
…[/quote]

Hi,

Anbody can help me with the call pickup problem.

Regards