mondain / red5phone

Automatically exported from code.google.com/p/red5phone
1 stars 1 forks source link

How to get Profile Name of user like Admin Or Normal User on Phone UI .. #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have made dial plan on sip server asterisk to decide the User
profile(Weather the user is Admin or Normal) from Username and Password
entered by user on phone.

And my sip server attach this ProfileName to end to that SIP message.

The SIP message received on my Red5 Application is:

15:37:32.609 Mon 03 Aug 2009, 172.18.100.66:5060/udp (403 bytes): received
MESSAGE sip:RED5PHONE@172.18.100.76:5070 SIP/2.0
Via: SIP/2.0/UDP 172.18.100.66:5060;branch=z9hG4bK0571049f;rport
Max-Forwards: 70
From: <sip:1234786#5454@asterisk>;tag=as590824b0
To: "RED5PHONE" <sip:RED5PHONE@asterisk>;tag=z9hG4bK38065933
Call-ID: 945612321340@172.18.100.76
CSeq: 102 MESSAGE
User-Agent: Asterisk PBX
Content-Type: text/plain
Content-Length: 27

CUSTOM_MESSAGE: ADMIN_USER-----End-of-message-----

Now I want to display this on our Phone Screen like "You Are Admin User".

So what should I do to get this ?? 

please reply me on niraj874u@gmail.com

Thanks.

Original issue reported on code.google.com by niraj8...@gmail.com on 3 Aug 2009 at 10:30